package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "cn_omc_bill_back_item")
public class OmcBillBackItem extends BaseEntity {

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 账单id
     */
    @Column(name = "bill_id")
    private Long billId;

    /**
     * 费用类型名
     */
    @Column(name = "item_type")
    private String itemType;

    /**
     * 退费项目名
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 实际退费
     */
    @Column(name = "item_fee")
    private BigDecimal itemFee;

    /**
     * 人员类别减免费用
     */
    @Column(name = "user_type_rate_refief")
    private BigDecimal userTypeRateRefief;

    /**
     * 人工减免费用
     */
    @Column(name = "user_rate_refief")
    private BigDecimal userRateRefief;

    /**
     * 退费金额
     */
    @Column(name = "back_fee")
    private BigDecimal backFee;
    /**
     * 备注
     */
    private String remark;

}